<template>
  <div id="order">
    <!--head-->
    <!-- 头部栏位 -->
    <!--页面顶部-->
    <div id="nav-bottom">
      <!--顶部-->
      <div class="nav-top">
        <div class="top">
          <div class="py-container">
            <div class="shortcut">
              <ul class="fl">
                <li class="f-item">青橙欢迎您！</li>
                <li class="f-item">请<a href="javascript:;">登录</a><span><a href="javascript:;">免费注册</a></span></li>
              </ul>
              <div class="fr typelist">
                <ul class="types">
                  <li class="f-item"><span>我的订单</span></li>

                  <li class="f-item"><span><a href="javascript:;" @click="btncrat">我的购物车</a></span></li>
                  <li class="f-item"><span><a href="javascript:;">我的青橙</a></span></li>
                  <li class="f-item"><span>青橙会员</span></li>
                  <li class="f-item"><span>企业采购</span></li>
                  <li class="f-item"><span>关注青橙</span></li>
                  <li class="f-item"><span><a href="javascript:;">合作招商</a></span></li>
                  <li class="f-item"><span><a href="javascript:;">商家后台</a></span></li>
                  <li class="f-item"><span>网站导航</span></li>
                </ul>
              </div>

            </div>
          </div>
        </div>

        <!--头部-->
        <div class="header">
          <div class="py-container">
            <div class="yui3-g Logo">
              <div class="yui3-u Left logoArea">
                <a class="logo-bd" title="青橙" href="javascript:;" @click="btnindex"></a>
              </div>
              <div class="yui3-u Rit searchArea">
                <div class="search">
                  <form action="" class="sui-form form-inline">
                    <!--searchAutoComplete-->
                    <div class="input-append">
                      <input type="text" id="autocomplete" class="input-error input-xxlarge" />
                      <button class="sui-btn btn-xlarge btn-danger" type="button">搜索</button>
                    </div>
                  </form>
                </div>
              </div>

            </div>

          </div>
        </div>
      </div>
    </div>
    <div class="cart py-container">
      <!--主内容-->
      <div class="checkout py-container">
        <div class="checkout-tit">
          <h4 class="tit-txt">填写并核对订单信息</h4>
        </div>
        <div class="checkout-steps">
          <!--收件人信息-->
          <div class="step-tit">
            <h5>收件人信息<span></span></h5>
          </div>
          <div class="step-cont">
            <div class="addressInfo">
              <ul class="addr-detail">
                <li class="addr-item">
                  <div class="choose-address">
                    <div class="con name selected"><a href="javascript:;">李煜<span title="点击取消选择"></span></a></div>
                    <div class="con address">
                      <span class="place">北京市海淀区三环内中关村软件园9号楼</span>
                      <span class="phone">15932223201</span>
                      <span class="base">默认地址</span>
                    </div>
                    <div class="clearfix"></div>
                  </div>

                  <div class="choose-address">
                    <div class="con name"><a href="javascript:;">李西西<span title="点击取消选择"></span></a></div>
                    <div class="con address">
                      <span class="place">北京市昌平区建材城西路金燕龙办公楼</span>
                      <span class="phone">18545692564</span>
                    </div>
                    <div class="clearfix"></div>
                  </div>

                  <div class="choose-address">
                    <div class="con name"><a href="javascript:;">王希<span title="点击取消选择"></span></a></div>
                    <div class="con address">
                      <span class="place">河北省衡水市大庆西路888号</span>
                      <span class="phone">18758946254</span>
                    </div>
                  </div>
                </li>
              </ul>
              <!--确认地址-->
            </div>
          </div>
          <div class="hr"></div>
          <!--支付和送货-->
          <div class="payshipInfo">
            <div class="step-tit">
              <h5>支付方式</h5>
            </div>
            <div class="step-cont">
              <ul class="payType">
                <li class="selected">在线支付<span title="点击取消选择"></span></li>
                <li>货到付款<span title="点击取消选择"></span></li>
              </ul>
            </div>
            <div class="hr"></div>
            <div class="step-tit">
              <h5>送货清单</h5>
            </div>
            <div class="step-cont">
              <ul class="send-detail">
                <li>
                  <div class="sendType">
                    <span>配送方式：</span>
                    <ul>
                      <li>
                        <div class="con express">天天快递</div>
                        <div class="con delivery">配送时间：预计8月10日（周三）09:00-15:00送达</div>
                      </li>
                    </ul>
                  </div>
                  <div class="sendGoods">
                    <span>商品清单：</span>
                    <ul class="yui3-g">
                      <li class="yui3-u-1-6">
                        <span><img src="img/goods.png" /></span>
                      </li>
                      <li class="yui3-u-7-12">
                        <div class="desc">Apple iPhone 6s (A1700) 64G 玫瑰金色 移动联通电信4G手机硅胶透明防摔软壳 本色系列</div>
                        <div class="seven">7天无理由退货</div>
                      </li>
                      <li class="yui3-u-1-12">
                        <div class="price">￥5399.00</div>
                      </li>
                      <li class="yui3-u-1-12">
                        <div class="num">X1</div>
                      </li>
                      <li class="yui3-u-1-12">
                        <div class="exit">有货</div>
                      </li>


                    </ul>
                    <ul class="yui3-g">
                      <li class="yui3-u-1-6">
                        <span><img src="img/goods.png" /></span>
                      </li>
                      <li class="yui3-u-7-12">
                        <div class="desc">Apple iPhone 6s (A1700) 64G 玫瑰金色 移动联通电信4G手机硅胶透明防摔软壳 本色系列</div>
                        <div class="seven">7天无理由退货</div>
                      </li>
                      <li class="yui3-u-1-12">
                        <div class="price">￥5399.00</div>
                      </li>
                      <li class="yui3-u-1-12">
                        <div class="num">X1</div>
                      </li>
                      <li class="yui3-u-1-12">
                        <div class="exit">有货</div>
                      </li>


                    </ul>
                  </div>
                  <div class="buyMessage">
                    <span>买家留言：</span>
                    <textarea placeholder="建议留言前先与商家沟通确认" class="remarks-cont"></textarea>
                  </div>
                </li>
                <li></li>
                <li></li>
              </ul>
            </div>
            <div class="hr"></div>
          </div>

          <div class="linkInfo">
            <div class="step-tit">
              <h5>发票信息</h5>
            </div>
            <div class="step-cont">
              <span>普通发票（电子）</span>
              <span>个人</span>
              <span>明细</span>
            </div>
          </div>
          <div class="cardInfo">
            <div class="step-tit">
              <h5>使用优惠/抵用</h5>
            </div>
          </div>
        </div>
      </div>
      <div class="order-summary">
        <div class="static fr">
          <div class="list">
            <span><i class="number">1</i>件商品，总商品金额</span>
            <em class="allprice">¥5399.00</em>
          </div>
          <div class="list">
            <span>返现：</span>
            <em class="money">0.00</em>
          </div>
          <div class="list">
            <span>运费：</span>
            <em class="transport">0.00</em>
          </div>
        </div>
      </div>
      <div class="clearfix trade">
        <div class="fc-price">应付金额:<span class="price">¥5399.00</span></div>
        <div class="fc-receiverInfo">
          寄送至:
          <span id="receive-address">北京市海淀区三环内中关村软件园9号楼</span>
          收货人：<span id="receive-name">冯提莫</span>
          <span id="receive-phone">15922333201</span>
        </div>
      </div>
      <div class="submit">
        <a class="sui-btn btn-danger btn-xlarge" href="pay.html">提交订单</a>
      </div>
    </div>
    <!-- 底部栏位 -->
    <!--页面底部-->
    <div class="clearfix footer">
      <div class="py-container">
        <div class="footlink">
          <div class="Mod-service">
            <ul class="Mod-Service-list">
              <li class="grid-service-item intro  intro1">

                <i class="serivce-item fl"></i>
                <div class="service-text">
                  <h4>正品保障</h4>
                  <p>正品保障，提供发票</p>
                </div>

              </li>
              <li class="grid-service-item  intro intro2">

                <i class="serivce-item fl"></i>
                <div class="service-text">
                  <h4>正品保障</h4>
                  <p>正品保障，提供发票</p>
                </div>

              </li>
              <li class="grid-service-item intro  intro3">

                <i class="serivce-item fl"></i>
                <div class="service-text">
                  <h4>正品保障</h4>
                  <p>正品保障，提供发票</p>
                </div>

              </li>
              <li class="grid-service-item  intro intro4">

                <i class="serivce-item fl"></i>
                <div class="service-text">
                  <h4>正品保障</h4>
                  <p>正品保障，提供发票</p>
                </div>

              </li>
              <li class="grid-service-item intro intro5">

                <i class="serivce-item fl"></i>
                <div class="service-text">
                  <h4>正品保障</h4>
                  <p>正品保障，提供发票</p>
                </div>

              </li>
            </ul>
          </div>
          <div class="clearfix Mod-list">
            <div class="yui3-g">
              <div class="yui3-u-1-6">
                <h4>购物指南</h4>
                <ul class="unstyled">
                  <li>购物流程</li>
                  <li>会员介绍</li>
                  <li>生活旅行/团购</li>
                  <li>常见问题</li>
                  <li>购物指南</li>
                </ul>

              </div>
              <div class="yui3-u-1-6">
                <h4>配送方式</h4>
                <ul class="unstyled">
                  <li>上门自提</li>
                  <li>211限时达</li>
                  <li>配送服务查询</li>
                  <li>配送费收取标准</li>
                  <li>海外配送</li>
                </ul>
              </div>
              <div class="yui3-u-1-6">
                <h4>支付方式</h4>
                <ul class="unstyled">
                  <li>货到付款</li>
                  <li>在线支付</li>
                  <li>分期付款</li>
                  <li>邮局汇款</li>
                  <li>公司转账</li>
                </ul>
              </div>
              <div class="yui3-u-1-6">
                <h4>售后服务</h4>
                <ul class="unstyled">
                  <li>售后政策</li>
                  <li>价格保护</li>
                  <li>退款说明</li>
                  <li>返修/退换货</li>
                  <li>取消订单</li>
                </ul>
              </div>
              <div class="yui3-u-1-6">
                <h4>特色服务</h4>
                <ul class="unstyled">
                  <li>夺宝岛</li>
                  <li>DIY装机</li>
                  <li>延保服务</li>
                  <li>品优购E卡</li>
                  <li>品优购通信</li>
                </ul>
              </div>
              <div class="yui3-u-1-6">
                <h4>帮助中心</h4>
                <img src="img/wx_cz.jpg">
              </div>
            </div>
          </div>
          <div class="Mod-copyright">
            <ul class="helpLink">
              <li>关于我们<span class="space"></span></li>
              <li>联系我们<span class="space"></span></li>
              <li>关于我们<span class="space"></span></li>
              <li>商家入驻<span class="space"></span></li>
              <li>营销中心<span class="space"></span></li>
              <li>友情链接<span class="space"></span></li>
              <li>关于我们<span class="space"></span></li>
              <li>营销中心<span class="space"></span></li>
              <li>友情链接<span class="space"></span></li>
              <li>关于我们</li>
            </ul>
            <p>地址：北京市昌平区建材城西路金燕龙办公楼一层 邮编：100096 电话：400-618-4000 传真：010-82935100</p>
            <p>京ICP备08001421号京公网安备110108007702</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Order',
  methods: {
    btncrat() {
      this.$router.push('/cart')
      return false
    },
    btnindex() {
      this.$router.push('/home')
      return false
    }
  },
}
</script>

<style lang="less" scoped>
#order {
.checkout h5 {
  font-weight: 700;
  margin: 0;
}
.hr {
  height: 1px;
  background-color: #ddd;
}
a {
  color: #666;
}
.top {
  background-color: #f1f1f1;
}
.logoArea {
  overflow: hidden;
  position: relative;
}
.logo {
  background: url(../../public/img/icons.png) no-repeat;
  background-position: -370px 5px;
  width: 177px;
  height: 75px;
}
.logo .title {
  font: 19px "微软雅黑";
  position: absolute;
  top: 24px;
  left: 190px;
}
.search {
  position: absolute;
  right: 0;
  top: 22px;
  font-size: 16px;
}
.search .btn-danger {
  font-size: 16px;
}
.checkout {
  margin: 20px 0;
}
.checkout-steps {
  border: 1px solid #ddd;
  padding: 25px;
  font-family: "微软雅黑";
}
.step-tit {
  line-height: 36px;
  margin: 15px 0;
}
.step-cont {
  margin: 0 10px 0 20px;
}
.step-cont ul li {
  list-style-type: none;
  overflow: hidden;
}
.step-cont .con {
  float: left;
  padding: 0;
  margin: 5px 0;
}
.seven {
  color: #c81623;
  margin-top: 20px;
}
.price {
  font: 14px "微软雅黑";
  font-weight: 700;
  color: #e12228;
}
ul.addr-detail li {
  width: 99%;
  margin: 10px 0;
}
.recommendAddr {
  margin-top: 10px;
}
ul.payType li {
  position: relative;
  display: inline-block;
  padding: 5px 20px;
  border: 1px solid #ddd;
  *display: inline;
  _zoom: 1;
  *margin: 5px 10px;
  cursor: pointer;
}
.step-cont li.selected {
  border: 1px solid #ff713f;
}
.step-cont li.selected span {
  width: 13px;
  height: 13px;
  display: none;
  position: absolute;
  right: 0;
  _right: -1px;
  bottom: 0;
  _bottom: -1px;
  overflow: hidden;
  background: url(../../public/img/choosed.png) no-repeat;
}
.step-cont li.selected span {
  display: block;
}
.addr-item .name {
  width: 100px;
  text-align: center;
  border: 1px solid #ddd;
}
.addressInfo .sui-modal {
  width: 565px;
}
.addr-item .name a {
  display: block;
  padding: 5px 0;
  position: relative;
  outline: 0;
  text-decoration: none;
  color: inherit;
}
.addr-item .name.selected {
  border: 1px solid #ff713f;
}
.addr-item .name a span {
  width: 13px;
  height: 13px;
  display: none;
  position: absolute;
  right: 0;
  _right: -1px;
  bottom: 0;
  _bottom: -1px;
  overflow: hidden;
  background: url(../../public/img/choosed.png) no-repeat;
}
.addr-item .name.selected span {
  display: block;
}
.addr-item .address {
  line-height: 30px;
  margin-left: 10px;
  padding-left: 5px;
  width: 55%;
}
.addr-item .address:hover {
  cursor: pointer;
}
.addr-item .address .edittext {
  padding-left: 15px;
  visibility: hidden;
}
.address-hover {
  background-color: #ddd;
}
.address-hover .edittext {
  visibility: visible !important;
}
.addr-item .address .base {
  padding: 4px;
  margin-left: 10px;
  background-color: #878787;
  color: #fff;
}
.payshipInfo span {
  font-weight: 700;
}
ul.send-detail li {
  margin-top: 10px;
  line-height: 30px;
}
.sendType .express {
  border: 1px solid #ddd;
  width: 120px;
  text-align: center;
  margin-right: 10px;
}
.sendType,
.sendGoods {
  padding: 15px;
}
.sendType {
  background: #f4f4f4;
  margin-bottom: 2px;
}
.sendGoods {
  background: #feedef;
}
.num,
.exit {
  text-align: center;
}
.order-summary {
  overflow: hidden;
  padding-right: 20px;
}
.list,
.trade {
  line-height: 26px;
}
.list span {
  float: left;
  width: 160px;
}
.list em {
  font-family: "微软雅黑";
}
.trade {
  padding: 10px;
  margin: 10px 0;
  text-align: right;
  background-color: #f4f4f4;
  border: 1px solid #ddd;
}
.trade .fc-receiverInfo {
  color: #999;
}
.submit .btn-xlarge {
  padding: 15px 45px;
  float: right;
  margin: 0 0 10px;
  font: 18px "微软雅黑";
  font-weight: 700;
  border-radius: 0;
  background-color: #ff713f;
  border: 1px solid #ff713f;
}
.number {
  color: red;
}
.step-tit h5 span {
  float: right;
}
.step-tit h5 span a {
  color: #555;
  cursor: pointer;
  text-decoration: none;
}
.step-tit h5 span a:hover {
  color: red;
}
.payType {
  margin-bottom: 10px;
}
.buyMessage span {
  display: block;
}
.buyMessage .remarks-cont {
  width: 99%;
  border-color: #e4e2e2;
  line-height: 1.8;
}
textarea:focus {
  outline: none;
}
}
</style>